package com.tengfei.main.exam.service;

import com.tengfei.common.core.domain.PageQuery;
import com.tengfei.common.core.page.TableDataInfo;
import com.tengfei.main.exam.domain.bo.PaperUserQuBo;
import com.tengfei.main.exam.domain.bo.UserRecodeBo;
import com.tengfei.main.exam.domain.vo.PaperVo;
import com.tengfei.main.exam.domain.vo.UserRecordVo;

import java.util.List;
import java.util.Map;

/**
 * @author feige
 * @version v1.0
 * @date 2022-09-12-17:08
 * @description
 */
public interface IRecodeService {
    List<PaperVo> queryPaperList(String paperName, Integer num);

    TableDataInfo<UserRecordVo> queryUserRecordPage(UserRecodeBo bo, PageQuery pageQuery);

    List<UserRecordVo> exportUserRecordList(UserRecodeBo bo);

    List userAnsList(Long userId, Long paperId);

    boolean updateUserScore(PaperUserQuBo bo);

    List<Map<String, Object>> userRanking(Long paperId);

    Map<String, Object> paperCensus(Long paperId);
}
